<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct mos_info</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../index.html" title="ODTONE 0.4">
<link rel="up" href="../../odtone_mih_library.html#header..home.carlos.Projectos.odtone.inc.odtone.mih.types.odtone_hpp" title="Header &lt;/home/carlos/Projectos/odtone/inc/odtone/mih/types/odtone.hpp&gt;">
<link rel="prev" href="location.html" title="Type definition location">
<link rel="next" href="mos_dscv.html" title="Struct mos_dscv">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="'ODTONE - Open Dot Twenty One'" width="100" height="100" src="../.././images/logo.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="location.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../odtone_mih_library.html#header..home.carlos.Projectos.odtone.inc.odtone.mih.types.odtone_hpp"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="mos_dscv.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="odtone.mih.mos_info"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct mos_info</span></h2>
<p>odtone::mih::mos_info</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../odtone_mih_library.html#header..home.carlos.Projectos.odtone.inc.odtone.mih.types.odtone_hpp" title="Header &lt;/home/carlos/Projectos/odtone/inc/odtone/mih/types/odtone.hpp&gt;">/home/carlos/Projectos/odtone/inc/odtone/mih/types/odtone.hpp</a>&gt;

</span>
<span class="keyword">struct</span> <a class="link" href="mos_info.html" title="Struct mos_info">mos_info</a> <span class="special">{</span>

  <span class="comment">// <a class="link" href="mos_info.html#idp6558920-bb">public member functions</a></span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ArchiveT<span class="special">&gt;</span> <span class="keyword">void</span> <a class="link" href="mos_info.html#idp6559136-bb"><span class="identifier">serialize</span></a><span class="special">(</span><span class="identifier">ArchiveT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="mos_info.html#idp6561040-bb"><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="mos_info.html" title="Struct mos_info">mos_info</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="mos_info.html#odtone.mih.mos_infopublic-data-members">public data members</a></span>
  <a class="link" href="id.html" title="Class id">mih::id</a> <a class="link" href="mos_info.html#odtone.mih.mos_info.id"><span class="identifier">id</span></a><span class="special">;</span>
  <a class="link" href="ip_addr.html" title="Class ip_addr">ip_addr</a> <a class="link" href="mos_info.html#odtone.mih.mos_info.ip"><span class="identifier">ip</span></a><span class="special">;</span>
  <span class="identifier">uint16</span> <a class="link" href="mos_info.html#odtone.mih.mos_info.port"><span class="identifier">port</span></a><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idp18207896"></a><h2>Description</h2>
<p>Define MOS_INFO data type. </p>
<div class="refsect2">
<a name="idp18208232"></a><h3>
<a name="idp6558920-bb"></a><code class="computeroutput">mos_info</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ArchiveT<span class="special">&gt;</span> <span class="keyword">void</span> <a name="idp6559136-bb"></a><span class="identifier">serialize</span><span class="special">(</span><span class="identifier">ArchiveT</span> <span class="special">&amp;</span> ar<span class="special">)</span><span class="special">;</span></pre>
<p>Serialize/deserialize the MOS_INFO data type.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term">Parameters:</span></p></td>
<td><div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><code class="computeroutput">ar</code></span></p></td>
<td><p>The archive to/from where serialize/deserialize the data type. </p></td>
</tr></tbody>
</table></div></td>
</tr></tbody>
</table></div>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="idp6561040-bb"></a><span class="keyword">operator</span><span class="special">==</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="mos_info.html" title="Struct mos_info">mos_info</a> <span class="special">&amp;</span> other<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>Check if the MOS_INFO is equal to another MOS_INFO.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">Parameters:</span></p></td>
<td><div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><code class="computeroutput">other</code></span></p></td>
<td><p>The MOS_INFO to compare with. </p></td>
</tr></tbody>
</table></div></td>
</tr>
<tr>
<td><p><span class="term">Returns:</span></p></td>
<td><p>True if they are equal or false otherwise. </p></td>
</tr>
</tbody>
</table></div>
</li>
</ol></div>
</div>
<div class="refsect2">
<a name="idp18221568"></a><h3>
<a name="odtone.mih.mos_infopublic-data-members"></a><code class="computeroutput">mos_info</code> 
        public
       public data members</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a class="link" href="id.html" title="Class id">mih::id</a> <a name="odtone.mih.mos_info.id"></a><span class="identifier">id</span><span class="special">;</span></pre>
<p>PoS identifier. </p>
</li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="ip_addr.html" title="Class ip_addr">ip_addr</a> <a name="odtone.mih.mos_info.ip"></a><span class="identifier">ip</span><span class="special">;</span></pre>
<p>PoS IP address. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">uint16</span> <a name="odtone.mih.mos_info.port"></a><span class="identifier">port</span><span class="special">;</span></pre>
<p>PoS listening port. </p>
</li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2009-2012 Universidade
      Aveiro<br>Copyright &#169; 2009-2012 Instituto
      de Telecomunica&#231;&#245;es - P&#243;lo Aveiro<p>
        This software is distributed under a license. The full license agreement
        can be found in the LICENSE in this distribution. This software may not be
        copied, modified, sold or distributed other than expressed in the named license
        agreement. This software is distributed without any warranty.
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="location.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../odtone_mih_library.html#header..home.carlos.Projectos.odtone.inc.odtone.mih.types.odtone_hpp"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="mos_dscv.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>
